#ifndef HISTORY_H
#define HISTORY_H
#include "historyDlg.h"
#include <qobject.h>
#include <qfile.h>
#include <qstring.h>
class History : public HistoryDialog 
{
	Q_OBJECT
	public:

		History(QWidget* parent, const char* name, bool modal, WFlags fl, int id );
		~History();
		int loadFile();

	public slots:
		void carHappen(const QString& str);


	private:
		int m_id;
		QFile* m_historyFile;


};
#endif
